package org.company.tool.bean;

import java.io.Serializable;

@SuppressWarnings("serial")
public class JavaClass implements Serializable {
    /**
     * 类名
     */
    private String className;
    
    /**
     * 包名
     */
    private String packageName;
    
    /**
     * 项目根目录
     */
    private String location = ".";
    
    /**
     * java文件名
     */
    private String javaFileName;

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getJavaFileName() {
        return javaFileName;
    }

    public void setJavaFileName(String javaFileName) {
        this.javaFileName = javaFileName;
    }
    
    public JavaClass(String className,String packageName,String location) {
        this.className = className;
        this.packageName = packageName;
        this.location = location;
        this.javaFileName = className + ".java";
    }
}
